<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro" lang="en" th:with="unixstamp=${#dates.createNow().time}">
<head th:replace="common::header"></head><link rel="stylesheet" th:href="@{/plugin/ztree/css/zTreeStyle/zTreeStyle.css}">
<style>
    .ztree * {
        font-size: 20px;
    }
    .ztree li{
        padding : 10px;
    }
    .layui-form-switch{
        width:170px;
    }
</style>
<body>
	<div class="layui-fluid">
		<div class="layui-row">
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-header t-title layui-bg-cyan mlk-title">库存管理</div>
					<div class="layui-card-body" id="main">
                        <ul id="tree" class="ztree"></ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>

<!--出库弹出层-->
<div id="outWarelayer" class="mlk-hide">
    <div class="layui-fluid">
        <form class="layui-form layui-form-pane" lay-filter="outWareForm" id="outWareForm">
            <div class="layui-form-item">
                <label class="layui-form-label">重量</label>
                <div class="layui-input-block">
                    <input type="text" name="num" required  lay-verify="required" placeholder="请输入重量" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">价钱</label>
                <div class="layui-input-block">
                    <input type="text" name="price"  placeholder="请输入价钱" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">出售去向</label>
                <div class="layui-input-block">
                    <input type="text" name="sellOut"  placeholder="出售去向" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">车辆信息</label>
                <div class="layui-input-block">
                    <input type="text" name="carInfo"  placeholder="出库车辆信息" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">备注信息</label>
                <div class="layui-input-block">
                    <textarea name="remark" placeholder="请输入备注信息" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn mlk-hide"  type="reset" id="outreset"></button>
                </div>
            </div>
        </form>
    </div>
</div>

<script type="text/html" id="toolbar">
</script>

<script type="text/html" id="tool">
</script>
<div th:include="common::footer"></div>
<script type="text/javascript" th:src="@{/plugin/ztree/js/jquery.ztree.core.js}"></script>
<script type="text/javascript" th:src="@{/plugin/ztree/js/jquery.ztree.exedit.js}"></script>
<script type="text/javascript" th:src="@{/js/stock/stock.js}"></script>
</html>